<?php
include_once '../library/config.php';
include_once '../model/stafflist.php';
include_once '../model/stafflistview.php';
StaffList::IsLogin();
$entity=new StaffListView();
$entity->select()->where('myid='.$_COOKIE['myid'])->get_first_rows();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <link href="/css/reset.css" rel="stylesheet" type="text/css" />
        <link href="/css/layout.css" rel="stylesheet" type="text/css" />
        <title>后台管理系统</title>
    </head>
    <body>
        <div class="mainwrap">
            <div class="mainwrapassist notoolbar nostatusbar">
                <table class="cellbor">
                    <tbody>
                        <tr>
                            <td class="w80 tr">登录帐号：</td>
                            <td class="w200"><?php echo $entity['account']; ?></td>
                        </tr>
                        <tr>
                            <td class="tr">姓名：</td>
                            <td><?php echo $entity['realname']; ?></td>
                        </tr>
                        <tr>
                            <td class="tr">手机号：</td>
                            <td><?php echo $entity['telphone']; ?></td>
                        </tr>
                        <tr>
                            <td class="tr">座机号：</td>
                            <td><?php echo $entity['zuoji']; ?></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <?php include_once '../inc/js.html';?>
    </body>
</html>